package cn.cas.mango.dto.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class News {

  private String id;

  @JsonProperty(value = "news_source")
  private Integer newsSource;

  @JsonProperty(value = "news_website")
  private String newsWebsite;

  @JsonProperty(value = "news_website_type")
  private Object newsWebsiteType;

  @JsonProperty(value = "news_url")
  private String newsUrl;

  @JsonProperty(value = "news_title")
  private String newsTitle;

  @JsonProperty(value = "news_content")
  private String newsContent;

  @JsonProperty(value = "news_author")
  private Object newsAuthor;

  @JsonProperty(value = "news_media_name")
  private Object newsMediaName;

  @JsonProperty(value = "news_publictime")
  private String newsPublicTime;   //date

  @JsonProperty(value = "news_publicdate")
  private String newsPublicDate;   //date
  @JsonProperty(value = "news_language")
  private String newsLanguage;

  @JsonProperty(value = "news_title_zh")

  private Object newsTitleZh;

  @JsonProperty(value = "news_content_zh")

  private Object newsContentZh;

  @JsonProperty(value = "news_keywords")
  private Object newsKeywords;

  @JsonProperty(value = "news_summary")

  private String newsSummary;

  @JsonProperty(value = "news_entities")

  private Object newsEntities;

  @JsonProperty(value = "news_entities_person")

  private Object newsEntitiesPerson;

  @JsonProperty(value = "news_entities_place")

  private Object newsEntitiesPlace;

  @JsonProperty(value = "news_entities_organization")

  private Object newsEntitiesOrganization;

  @JsonProperty(value = "news_type")
  private String newsType;

  @JsonProperty(value = "crawl_time")

  private String crawlTime;

  private String domain;

  @JsonProperty(value = "news_cluster_id")
  private String clusterId;


}
